package JAVASE512;

import java.util.Scanner;

public class JAVAthree {
    public static void main(String[] argc){
        Scanner sc=new Scanner(System.in);
        //1.输入三个和尚的身高
        int height1= sc.nextInt();
        int height2= sc.nextInt();
        int height3= sc.nextInt();
        //2.比较三个和尚的身高，输出最大值
        int max1=height1>height2?height1:height2;
        int MAX=max1>height3?max1:height3;
        System.out.println(MAX);
    }
}
